package IC.TypeTable;


public class ArrayType extends Type {
	
	private Type elemType;  
	
	public ArrayType(Type elemType){
		super(elemType.getName()+"[]");
		this.elemType = elemType;
	}
	
	public boolean isSubTypeOf(Type t)
	{
		return (t == this);
	}
	
	public Type getElemType(){
		return this.elemType;
	}
}
